/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;

import java.io.Serializable;
import java.util.Vector;

/**
 *
 * @author Admin
 */
public class Reader implements Serializable {
     private String readerID,name,phoneNumber,address,career;
     private int amountBookIssued;
    
    public Reader(String readerID,String name,String phoneNumber,String address,String career)
    {
        this.readerID = readerID;
        this.name = name;
        this.phoneNumber= phoneNumber;
        this.address = address;
        this.career= career;
    }
    public Reader(){
        
    }
    
    public Vector toVector() {
        Vector v = new Vector();
        v.addElement(readerID);        
        v.addElement(name);
        v.addElement(phoneNumber);
        v.addElement(address);
         v.addElement(career);
        return v;

    }
    public String getReaderID()
    {
        return readerID;
    }
    public void setReaderID(String readerID)
    {
        this.readerID = readerID;
    }
    public int getAmountBookIssued()
    {
        return amountBookIssued;
    }
    public void setAmountBookIssued(int amount)
    {
        this.amountBookIssued = amount;
    }
    public String getName()
    {
        return name;
    }
    public void setName(String name)
    {
        this.name = name;
    }       
    public String getPhoneNumber()
    {
        return phoneNumber;
    }
    public void setPhoneNumber(String phoneNumber)
    {
        this.phoneNumber = phoneNumber;
    }
    public String getAddress()
    {
        return address;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }
    public void setCareer(String career)
    {
        this.career = career;
    }
    public String getCareer()
    {
        return career;
    }
            
}
